package com.liveneo.adapter.base.mapper;

import java.util.List;
import com.liveneo.adapter.base.entity.PrpmImageSurvey;
import com.liveneo.adapter.base.entity.PrpmImageSurveyRemark;
import com.liveneo.adapter.mobile.model.request.UploadImageRemarkRequest;

public interface PrpmImageSurveyMapper {
    int deleteByPrimaryKey(String imageSurveyId);

    int insert(PrpmImageSurvey record);

    int insertSelective(PrpmImageSurvey record);

    PrpmImageSurvey selectByPrimaryKey(String imageSurveyId);

    int updateByPrimaryKeySelective(PrpmImageSurvey record);

    int updateByPrimaryKey(PrpmImageSurvey record);

    List<PrpmImageSurvey> getByRequest(UploadImageRemarkRequest request);

    int insert(PrpmImageSurveyRemark pr);

    List<PrpmImageSurveyRemark> getRemarkByLossUuid(String lossuuid);
   
    PrpmImageSurvey selectByCaseUuid(String caseUuid);

    PrpmImageSurvey getImageSurveyByLossUuid(String lossItemId);

    void updateImageSurveyByLossUuid(PrpmImageSurvey prpmImageSurvey);

	List<PrpmImageSurvey> selectByRequest(UploadImageRemarkRequest request);

}